<p><%= link_to h('<<<返回'), :action => :index %></p>
<h1>推荐代提交</h1>
<% unless @pickup.errors.empty? %>
    <div class="descript" style="color:red">提交失败：<%=@pickup.errors.values.join(',')%></div>
<% end %>
<% form_for @pickup, :url => {:action => :create} do |f| %>
<div class="xmlform">
    <p><b>推荐人昵称：</b><%= f.text_field :uname, :class=> "little" %></p>
    <table style="border-spacing:0;"><tr>
        <td><b>推荐投稿：</b>http://<%=BILI_PATH%>/video/av</td>
        <td><%= f.text_field :avid, :class => "short" %></td>
        <td>/</td>
      </tr></table>
    <p><b>推荐理由：</b></p>
    <p><%= f.text_field :reason, :class=> "bangzi" %></p>
    <p><b>备注：</b>（可不填）</p>
    <p><%= f.text_field :bak, :class=> "bangzi" %></p>
    <p><%= f.submit '提交' %></p>
</div>
<% end %>
<hr/>